https://api.affiliates.iugu.com/campaign_affiliates/{campaign_id}/{affiliate_id}
Remove afiliado da campanha
Sem ações implementadas definidas
Request
Path variables |
|
---|---|
campaign_id
Required Type: string ID da campanha Ex: 7FLqqKqggYFxt1nk2NW3jw
affiliate_id
Required Type: string ID do afiliado Ex: 1Y7fL0IL1aJjfSt3Dp4GNO |
Headers |
|
---|---|
workspace_id
Required Type: string Identificador do workspace Ex: 4fHECmQtLdROI4fDLWMiLd |
Response
200 |
||
---|---|---|
OK
|
1
2
3
{
"message": "Relationship between campaign and affiliate deleted successfully."
}
422 |
||||||||
---|---|---|---|---|---|---|---|---|
Unprocessable Entity
|
1
2
3
4
{
"campaign": "[\"must exist\"]",
"affiliate": "[\"must exist\"]"
}
401 |
||||||
---|---|---|---|---|---|---|
Unauthorized
|
1
2
3
4
5
{
"status": "401",
"title": "JWT VALIDATION ERROR",
"detail": "Signature has expired"
}
500 |
||||||
---|---|---|---|---|---|---|
Internal Server Error
|
1
2
3
4
5
{
"status": "500",
"title": "Internal Server Error",
"detail": "Internal Error, try again later"
}